from django.db import models
from ckeditor.fields import RichTextField

# Create your models here.

class MyModel(models.Model):
    title = models.CharField(max_length=50,verbose_name='title', default="")
    content = RichTextField(verbose_name=u'content', default="")
    sort = models.CharField(max_length=10, default="")
    author = models.CharField(max_length=20, default="")
    introduction = models.CharField(max_length=200, default="")
    time = models.CharField(max_length=100, default="")
    def __unicode__(self):
        return self.name